ExcludeView

data class ExcludeView(    val view: View,     val mode: ExcludeMode = ExcludeMode.HIDE,     val includeMargin: Boolean = false)

Allows to define the configuration to exclude a children view when converting a view to an image.

Parameters

view

Children view of view group to exclude of the image.

mode

Exclude mode based on ExcludeMode

includeMargin

Determines if the margin is included in the size of the child view, so if it is true, the view will be excluded including its margins.

Constructors

Link copied to clipboard
fun ExcludeView(    view: View,     mode: ExcludeMode = ExcludeMode.HIDE,     includeMargin: Boolean = false)

Properties

Link copied to clipboard
val includeMargin: Boolean = false
Link copied to clipboard
val mode: ExcludeMode
Link copied to clipboard
val view: View